package com.dubbo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
//@EnableDubbo //开启dubbo配置*/
//@EnableCaching // 开启缓存支持
@MapperScan("com.dubbo.mapper")
public class ServiceApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ServiceApplication.class)
                .web( WebApplicationType.NONE)
                .run(args);
    }
}
